IOMMU: add crash_shutdown iommu_op
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 15 Jun 2011 15:10:11 +0000 (16:10 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 15 Jun 2011 15:10:11 +0000 (16:10 +0100)
commitf6239c2a1e56e2795effe44fcf88467c501ca9d0
treea740a7aa01757cc03296f0f98ba83c9547be093d
parent46f391252bc3d6b7ff65f60fea631bf018226c91
IOMMU: add crash_shutdown iommu_op

The kdump kernel has problems booting with interrupt/dma
remapping enabled, so we need a new iommu_ops called
crash_shutdown which is basically suspend but doesn't
need to bother saving state.

Make sure that crash_shutdown is called on the kexec
path.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/crash.c
xen/drivers/passthrough/amd/pci_amd_iommu.c
xen/drivers/passthrough/iommu.c
xen/drivers/passthrough/vtd/iommu.c
xen/include/asm-x86/hvm/svm/amd-iommu-proto.h
xen/include/xen/iommu.h